import Layout from "@/layout";
import levels from "@/views/levels";

const feedbackRouter = {
  path: '/feedback/index',
  component: Layout,
  redirect: 'noRedirect',
  name: 'feedback',
  hidden: false,
  meta: {
    title: '反馈管理',
    abbre: '反馈',
    icon: 'left_menu_feedback',
    navigation: '/feedback/index',
    id: '407'
  },
  children: [
    {
      path: '/feedback/list',
      component: () => import('@/views/feedback/list/index'),
      name: 'feedback_list',
      hidden: false,
      meta: {
        title: '反馈列表',
        noCache: true,
        navigation: '/feedback/list',
        icon: 'menu_big_data'
      }
    },
    {
      path: '/feedback/Merchant',
      component: () => import('@/views/feedback/feedbackMerchant'),
      name: 'feedbackMerchant',
      hidden: false,
      meta: {
        title: '档口反馈',
        bread: '档口反馈',
        noCache: true,
        navigation: '/feedback/Merchant',
        icon: 'menu_big_data'
      }
    },
    {
      path: '/feedback/index',
      component: () => import('@/views/feedback/index'),
      name: 'feedback_index',
      hidden: false,
      meta: {
        title: '家长反馈',
        noCache: false,
        navigation: '/feedback/index',
        icon: 'menu_big_data'
      }
    },
    {
      path: '/feedback/supply',
      component: () => import('@/views/feedback/feedbackSupply'),
      name: 'feedbackSupply',
      hidden: false,
      meta: {
        title: '供应链反馈',
        bread: '供应链反馈',
        noCache: true,
        navigation: 'feedback/supply',
        icon: 'menu_big_data'
      }
    },
  ]
};

export default feedbackRouter;